package _17_Inheritance.cars;

public class CarDemo {

	public static void main(String[] args) 
	{
		Jeep jeep = new Jeep();
		
		System.out.println(jeep.model = "Range rover");

		Car car = new Car();
		SportCar sportCar = new SportCar();
		System.out.println(sportCar.model = "Diablo");
		jeep.switch4x4();
		
		sportCar.accelerate(20.00);
		
		
		System.out.println(car);
		System.out.println(jeep);

	}

}
